<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>确认框</title>
	</head>

	<body>

		<script type="text/javascript">
			var result = window.confirm("您确定要进行删除吗");
			if(result){
				console.log("执行删除")
			}else{
				console.log("取消删除")
			}
		</script>
	</body>

</html>